package com.itheima.pojo;

import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 班级条件分页查询实体
 * @author GY
 * @version V1.0
 * @date 2025-01-12 20:36
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ClazzQueryParam {
    private Integer id;
    private String name;
    private String room;
    private String masterId;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate begin;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate end;
    private String status ="null";
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime updateTime;
    private Integer page = 1;
    private Integer pageSize = 10;

    private String masterName;
}
